import * as React from 'react';
import {observer} from 'mobx-react'
import styles from './index.scss';

import Swiper from './Swiper'
import {IHotOrderType} from '../../../type/firstType'


interface IProps {
    hotList: IHotOrderType[]
}

@observer
class Home extends React.Component<IProps> {

    constructor(props) {
        super(props);
    }


    public render() {
        const {hotList} = this.props
        return (
            <div className={styles.twoBottom}>
                <div className={styles.title} title="紧急服务">紧急服务</div>
                <Swiper hotList={hotList} borderBottom='0.5px solid rgb(13,93,139)' borderTop='0.5px solid rgb(13,93,139)' />
            </div>
        );
    }
}

export default Home;
